package com.itheima.backend.service.JIEKOU;

import com.itheima.backend.pojo.User;

import java.util.List;

public interface UserService {
    List<User> getAllUsers();
    User getUserById(Integer id);
    void createUser(User user);
    void deleteUserById(Integer id);
//    User login(String username, String password);
    User login(String username, String password);

    Integer getUserIdByUsername(String username);


}
